using System;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 干部转身实体
    /// </summary>
    [SugarTable("Cadre")]
    public class CadreEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        public string WorkNumber { get; set; }

        /// <summary>
        /// 转身计划流程号
        /// </summary>
        public string PlanInstanceNumber { get; set; }

        /// <summary>
        /// 转身总结流程号
        /// </summary>
        public string ResultInstanceNumber { get; set; }

        /// <summary>
        /// 重启的转身总结流程号
        /// </summary>
        public string RestartResultInstanceNumber { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string OrganizationName { get; set; }

        /// <summary>
        /// 职位
        /// </summary>
        public string ApplyerJob { get; set; }

        /// <summary>
        /// 职级
        /// </summary>
        public string ApplyerTitle { get; set; }

        /// <summary>
        /// 助力开始日期
        /// </summary>
        public DateTime? StartDate { get; set; }

        /// <summary>
        /// 助力期限
        /// </summary>
        public int? Month { get; set; }

        /// <summary>
        /// 助力结束日期
        /// </summary>
        public DateTime? EndDate { get; set; }

        /// <summary>
        /// 导师编号
        /// </summary>
        public string TeacherCode { get; set; }

        /// <summary>
        /// 导师姓名
        /// </summary>
        public string TeacherName { get; set; }

        /// <summary>
        /// 直接主管
        /// </summary>
        public string LeaderCode { get; set; }

        /// <summary>
        /// 直接主管
        /// </summary>
        public string LeaderName { get; set; }

        /// <summary>
        /// 是否抄送直接主管
        /// </summary>
        public bool IsCCLeader { get; set; }

        /// <summary>
        /// 转身状态
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// 转身状态结果
        /// </summary>
        public string StatusName { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 上岗前沟通记录:组织当前最重要的工作是
        /// </summary>
        public string Record1 { get; set; }

        /// <summary>
        /// 上岗前沟通记录:主管对我的未来期望是（对于组织的中长期贡献）
        /// </summary>
        public string Record2 { get; set; }

        /// <summary>
        /// 上岗前沟通记录:主管希望我近期快速提升的是
        /// </summary>
        public string Record3 { get; set; }

        /// <summary>
        /// 上岗前沟通记录:近期优先开展的工作是
        /// </summary>
        public string Record4 { get; set; }

        /// <summary>
        /// 计划制定：部门及个人现状识别
        /// </summary>
        public string PlanRecord1 { get; set; }

        /// <summary>
        /// 计划制定：新干部转身需解决的TOP问题
        /// </summary>
        public string PlanRecord2 { get; set; }

        /// <summary>
        /// 上岗前沟通记录申请流程号
        /// </summary>
        public string CommunicateInstanceNumber { get; set; }

        /// <summary>
        /// 终止时间
        /// </summary>
        public DateTime? CloseTime { get; set; }

        /// <summary>
        /// 终止原因
        /// </summary>
        public string CloseReason { get; set; }
    }
}
